package com.fallwings.domain;

/**
 *
 * Created by Killer on 2015/12/16.
 */
public class User {
    private String userId;
    private String password;
    private int root;
    private int integral;

    public User() {
    }

    public User(String userId, String password, int root, int integral) {
        this.userId = userId;
        this.password = password;
        this.root = root;
        this.integral = integral;
    }

    public int getIntegral() {
        return integral;
    }

    public void setIntegral(int integral) {
        this.integral = integral;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getRoot() {
        return root;
    }

    public void setRoot(int root) {
        this.root = root;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId='" + userId + '\'' +
                ", password='" + password + '\'' +
                ", root=" + root +
                ", integral=" + integral +
                '}';
    }
}
